// import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
// import App from './19-案例-水果商城.vue'
import router from './router'
// 导入自定义组件
import HmButton from './components/HmButton.vue'
// 接收Vue 的应用实例
const app = createApp(App)
// 注册全局组件，app.component() 需要书写在app.mount()前面
app.component('HmButton',HmButton)

// app.use(createPinia())
// app.use(router)

app.mount('#app')
